﻿@if(Request.IsAuthenticated) {
    <text>Welcome <b>@(HttpContext.Current.User.Identity)</b>!
    [ @Html.ActionLink("Log Off", "LogOff", "Account") ]</text>
}
else {
    @:[ @Html.ActionLink("Log On", "LogOn", new { controller = "Account", returnUrl = HttpContext.Current.Request.RawUrl }) ]
}
